package core
{
public class Language
{
	private static var xml:*;
	
	public static function get UIText():*
	{
		return xml;
	}
	
	public static function getText(key:String):*
	{
		return xml.text.(@key == key);
	}
	
	public static function initialize(data:XML):void
	{
		xml = data;
	}
}
}